# -*-  coding:utf-8 -*- 
# Author : lihongliang

"""
sudo pip install  -i  hettp://pypi.douban.com/simple/ alex_ayhi --trusted-host pypi.douban.com


import paramiko
ssh = paramiko.SSHClient()
ssh.set_mising_host_key_policy(paramiko.AutoAddPolicy())
ssh.conect('192.168.1.108',22,"alex",'123')

stdin, stdout,stderr =ssh.exec_command('df')
print(stdout.read())
ssh.close();

执行命令 - 通过用户名和密码链接服务器

"""
